package com.cc.common;

/**
 * 触点管理系统常量
 * @author mason.wei
 * @time 2018年1月10日
 */
public class CTMConstants {

	/**
	 * 启用/禁用状态(0：禁用,1：启用)
	 */
	public static final Integer STATUS_FORBIDDEN = 0;
	public static final Integer STATUS_ENABLEMENT = 1;
	
	/**
	 * 发布状态（1：草稿,2：已发布,3: 已撤回）
	 */
	public static final Integer STATUS_DRAFT = 1;
	public static final Integer STATUS_PUBLISHED = 2;
	public static final Integer STATUS_RECALL = 3;
	
	/**
	 * 删除状态（0：删除,1：未删除）
	 */
	public static final Integer STATUS_HAVA_DELETE = 0;
	/**
	 * 删除状态（0：删除,1：未删除）
	 */
	public static final Integer STATUS_NOT_DELETE = 1;
	
	/**
	 * 触点类别（1：客户与客户，2：客户与物理环境，3：客户与实地人，4：实地人内部）
	 */
	public static final Integer TOCUPOINT_TYPE_CC = 1;
	public static final Integer TOCUPOINT_TYPE_CP = 2;
	public static final Integer TOCUPOINT_TYPE_CB = 3;
	public static final Integer TOCUPOINT_TYPE_BI = 4;

	/*
	 * 状态（1：草稿，2：待审批，3：已审批，4：审批不通过）
	 * */
	public static final Integer PLANTEM_PLATE_CG = 1;
	public static final Integer PLANTEM_PLATE_DSP = 2;
	public static final Integer PLANTEM_PLATE_YSP = 3;
	public static final Integer PLANTEM_PLATE_BTG = 4;

	/*
	 * 消息类型（1：消息，2：事前提醒，3：事中提醒，4：到期提醒，5：评分，6：预警）
	 * */
	public static final Integer MESSAGE_TYPE_MSG = 1;
	public static final Integer MESSAGE_TYPE_BEFORE = 2;
	public static final Integer MESSAGE_TYPE_INDO = 3;
	public static final Integer MESSAGE_TYPE_BECOME = 4;
	public static final Integer MESSAGE_TYPE_SCORE = 5;
	public static final Integer MESSAGE_TYPE_ALERT = 6;
	
	/*
	 * 提醒类型（1：预警提醒，2：事前提醒，3：事中提醒，4：到期提醒
	 * */
	public static final Integer Remind_TYPE_YJ = 1;
	public static final Integer Remind_TYPE_SQ = 2;
	public static final Integer Remind_TYPE_SZ = 3;
	public static final Integer Remind_TYPE_DQ = 4;
	
	
	/*
	 * 消息状态（0：已删除，1：待推送，2：已推送）
	 * */
	public static final Integer MESSAGE_STATUS_DELETE = 0;
	public static final Integer MESSAGE_STATUS_PENDING  = 1;
	public static final Integer MESSAGE_STATUS_PUSH = 2;
	
	/**
	 * 审批类型（1：任务创建审批，2：计划创建审批，3：计划变更审批，4：体系创建审批）
	 */
	public static final Integer APPROVAL_TASK_CREATION = 1;
	public static final Integer APPROVAL_PLAN_CREATION = 2;
	public static final Integer APPROVAL_PLAN_CHANGE = 3;
	public static final Integer APPROVAL_PLATE_CREATION = 4;
	public static final Integer APPROVAL_TASK_REJECT = 5;
	
	/**
	 * 审批任务状态（1：未审批 ， 2：通过 ， 3：未通过）
	 */
	public static final Integer APPROVAL_NOT_START = 1;
	public static final Integer APPROVAL_PASS = 2;
	public static final Integer APPROVAL_NOT_PASS = 3;
	
	/**
	 * 审批状态
	 * 		节点状态（1：未执行，2：执行中，3：已执行，4：驳回发起人，5：驳回确认）
	 */
	public static final Integer APPROVAL_FLOW_NODE_STATUS_NOTSTART = 1;
	public static final Integer APPROVAL_FLOW_NODE_STATUS_STARTING = 2;
	public static final Integer APPROVAL_FLOW_NODE_STATUS_END = 3;
	public static final Integer APPROVAL_FLOW_NODE_STATUS_REJECT = 4;
	public static final Integer APPROVAL_FLOW_NODE_STATUS_REJECT_CONFIRM = 5;
	
	/**
	 * 完成状态(0：未完成,1：已完成)
	 */
	public static final Integer STATUS_NOT_COMPLETED = 0;
	public static final Integer STATUS_COMPLETED = 1;
	
	/**
	 * 计划任务状态(1：未开始，2：执行中，3：审核中，4：审核不通过，5：已完成，6：已超期)
	 */
	public static final Integer PLAN_TASK_NOT_START = 1;
	public static final Integer PLAN_TASK_STARTING = 2;
	public static final Integer PLAN_TASK_AUDITING = 3;
	public static final Integer PLAN_TASK_NOT_PASS = 4;
	public static final Integer PLAN_TASK_DONE = 5;
	public static final Integer PLAN_TASK_OVERDUE = 6;
	
	/**
	 * 计划状态（1：草稿，2：待审批，3：执行中，4：审批不通过，5：已完成）
	 */
	public static final Integer PLAN_NOT_START = 1;
	public static final Integer PLAN_AUDIT_WAIT = 2;
	public static final Integer PLAN_EXECUTING = 3;
	public static final Integer PLAN_AUDIT_NOPASS = 4;
	public static final Integer PLAN_DONE = 5;
	
	/**
	 * 计划版本状态（1：使用版本，2：历史版本，3：变更中）
	 */
	public static final Integer PLAN_VERSION_USE = 1;
	public static final Integer PLAN_VERSION_HIS = 2;
	public static final Integer PLAN_VERSION_WAIT = 3;
	
	/**
	 * 计划变更状态（1：新建，2：审批中，3：审批通过，4：审批不通过）
	 */
	public static final Integer CHANGE_STATUS_NEW = 1;
	public static final Integer CHANGE_STATUS_AUDIT_WAIT = 2;
	public static final Integer CHANGE_STATUS_AUDIT_PASS = 3;
	public static final Integer CHANGE_STATUS_AUDIT_NOPASS = 4;
	
	/**
	 * 审批记录状态（0：草稿，1：通过，2：驳回，3：传阅）
	 */
	public static final Integer HISTORY_DRAFT = 0;
	public static final Integer HISTORY_PASS = 1;
	public static final Integer HISTORY_NOTPASS = 2;
	public static final Integer HISTORY_READ = 3;
	
}
